import requests
import time


for i in range(1,6):
    time_stamp = int(time.time() * 1000)
    url = f'https://www1.hkexnews.hk/ncms/json/eds/lcisehk7relsdc_{i}.json?_={time_stamp}'

    response = requests.get(url)
    print(len(response.json()['newsInfoLst']))
# for i in response.json()['newsInfoLst']:
#     print(i)